package com.leaguefox.domain.dao;

import org.springframework.stereotype.Component;

import com.leaguefox.domain.League;

@Component
public class LeagueDao extends GenericDao<League, Long> {

	@Override
	protected Class<League> getObjectClass() {
		return League.class;
	}

	@Override
	protected Long getObjectPrimaryKey(League object) {
		return object.getId();
	}

	

}
